home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 6⁄29⁄90 / 1509-Getting SADE to work-Jun90 < prev    next >
Encoding:
Text File  |  1990-06-29  |  2.4 KB  |  57 lines  |  [TEXT/GEOL]

  1. Item    3053061                         28-June-90        17:04PDT
  2.  
  3. From:   D2652                           Strategic Planning Sys, D Bell,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.         MACDTS                          Macintosh Developer Tech Supt
  7.  
  8. Sub:    Getting SADE to work?
  9.  
  10. Gentlemen:
  11.  
  12. I am having a bit of a problem getting my application to work with SADE.
  13.  
  14. I am using MacApp 2.0 Final, MPW 3.1, Sade 1.1, MacIIcx, 8 meg ram
  15. I have the following code in my sade userstartup file
  16. ###############################################################################
  17. # SADEUserStartup -- where to add your own startup stuff
  18. # uncomment the following line if you frequently debug
  19. # MacApp and Object Pascal
  20. # see the SADE New User Worksheet for more information
  21. #  execute concat(SADEDir,'SADEScripts:StepMethod')
  22. # Debugging Object Pascal and MacApp
  23. # first, set the appropriate directory
  24.    directory 'MacIIcx:MPW:MacApp:Don:.Debug Sym:'
  25. # target your application
  26.    target 'QMv2'   # assumes symbol file is 'application name.SYM'
  27. # set Sourcepath to include other source files, including the MacApp sources
  28.    sourcepath 'MacIIcx:MPW:MacApp:Don:', 'MacIIcx:MPW:MacApp:Libraries:'
  29. # open the file containing your main program
  30.    open source 'MacIIcx:MPW:MacApp:Don:UQMv2.inc1.p'
  31. # select the statement following the call to InitUMacApp
  32. # and choose the 'Go Til' command from the SourceCmds menu
  33. # when SADE is reentered, execute the following commands
  34. #  execute concat(SADEDir,'SADEScripts:StepMethod.init')
  35. #  setupStepMethod
  36. # execute the following line.  It is also in SADEUserStartup, commented out.
  37. # if you are going to debug MacApp a lot, uncomment the line, and the
  38. StepIntoMethod
  39. # will be defined automatically
  40. #  execute concat(SADEDir,'SADEScripts:StepMethod')
  41. # and you're ready to go.
  42. # just use the 'Step Into' menu item from the SourceCmds menu to step into a
  43. method.
  44. ###############################################################################
  45. I start SADE then use GO to get into my application.  After I am in my
  46. application I press Command-Option-. (I have not  re-defined the SADE key) and
  47. the MacApp debugger tells me:
  48. exception #3 exception frame address = $00651298
  49. PC = $007aa240
  50. Address error: Word or long-word reference made to an odd address
  51.  
  52. I would appreciate any assistance you could provide to get sade to work for me.
  53.  
  54. Donald Bell
  55. Strategic Planning Systems
  56.  
  57.